<?php
declare (strict_types = 1);

namespace app\service;

use app\common\Shut;

class shutService extends \think\Service
{
    /**
     * 注册服务
     *
     * @return mixed
     */
    public function register()
    {
    	//
        //echo "注册执行\r\n";

        $this->app->bind("shut",Shut::class);
    }

    /**
     * 执行服务
     *
     * @return mixed
     */
    public function boot()
    {
        //
        //echo "boot执行\r\n";
        Shut::setName("china");
    }
}
